<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no"/>
    <meta name="msapplication-tap-highlight" content="no"/>
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"/>
    <link rel="stylesheet" href="<%- rootUrl %>/res/adapter.css" />
    <link rel="stylesheet" href="<%- rootUrl %>/node_modules/font-awesome/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css" />
    <link rel="stylesheet" href="css/common.css" />
    <title>我爱零吃网 - 有你最爱的零吃</title>
    <style>
        #sign-head {position:fixed;top:0;z-index:100}
        .vbox {text-align:left}
        .vbox img {width:100%}
        .vbox p:nth-child(2) {display:flex;align-items:baseline}
        .vbox p {margin:0.8em 0.5em;font-size:11px}
        #nav-classify > div > a > div { font-size:14px; height:32px; line-height:32px; background:#f0d9e9; text-align: center }
        .nav-classify-active { color:#c70; border-left:3px solid #c70; border-right:3px solid #fff }
    </style>
    <script src="<%- rootUrl %>/node_modules/jquery/dist/jquery.min.js"></script>
    <script src="<%- rootUrl %>/res/adapter.js"></script>
    <script src="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body class="body-nomargin">
<alljs-widget><message-top><%- message %></message-top></alljs-widget>
<%- components['signhead'] ? include(components['signhead'], this) : '' %>
<div class="width-limit hbox" style="margin-top:49px;margin-bottom:65px">
    <div id="nav-classify" style="width:21%;padding-top:24px;background: #f0d9e9;">
        <div style="width:100%;position:sticky;top:56px">
            <a href="javascript:;"><div style="color:red">*new*</div></a>
            <a href="javascript:;"><div class="nav-classify-active">爆款</div></a>
            <a href="javascript:;"><div>饮品</div></a>
            <a href="javascript:;"><div>糖果</div></a>
            <a href="javascript:;"><div>饼干</div></a>
            <a href="javascript:;"><div>蜜饯</div></a>
            <a href="javascript:;"><div>坚果</div></a>
            <a href="javascript:;"><div>膨化</div></a>
            <a href="javascript:;"><div>肉品</div></a>
            <a href="javascript:;"><div>蔬果</div></a>
            <a href="javascript:;"><div>其他</div></a>
        </div>
    </div>
    <div style="width:79%;background:#ffe;">
        <div class="hbox" style="flex-grow:2;width:100%">
            <div class="vbox">
                <a href="javascript:;">
                    <img src="img/pic01.jpg"/>
                    <p><span class="badge" style="background:red">新</span><bl>RIO鸡尾酒 解暑饮料</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>99</l></rb>&emsp;3192 人付款</g><g style="float:right">...</g></p>
                </a>
                <a href="javascript:;">
                    <img src="img/pic02.jpg"/>
                    <p><span class="badge" style="background:orange">火</span><bl>一大篮新鲜蔬果</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>89</l></rb>&emsp;3.1w 人付款</g><g style="float:right">...</g></p>
                </a>
                <a href="javascript:;">
                    <img src="img/pic03.jpg"/>
                    <p><bl>奥得森正品 夏威夷果 炭烧腰果 纸皮核桃 巴达木 碧根果 开心果</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>69</l></rb>&emsp;8.8w 人付款</g><g style="float:right">...</g></p>
                </a>
                <a href="javascript:;">
                    <img src="img/pic04.jpg"/>
                    <p><bl>炸麻花 炸麻叶 炸油角 炸油绳 炸圆子 炸馓子 炸煎堆 炸猫耳朵</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>19</l></rb>&emsp;1953 人付款</g><g style="float:right">...</g></p>
                </a>
                <a href="javascript:;">
                    <img src="img/pic05.jpg"/>
                    <p><bl>百果园蔬果大拼盘</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>79</l></rb>&emsp;2.2w 人付款</g><g style="float:right">...</g></p>
                </a>
            </div>
            <div class="vbox">
                <a href="javascript:;">
                    <img src="img/pic06.jpg"/>
                    <p><span class="badge" style="background:magenta">荐</span><bl>薯片 雪饼 仙贝 夹心饼 脆条 大集合</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>79</l></rb>&emsp;1.5w 人付款</g><g style="float:right">...</g></p>
                </a>
                <a href="javascript:;">
                    <img src="img/pic07.jpg"/>
                    <p><span class="badge" style="background:purple">折</span><bl>瑞士果糖 阿尔卑斯夹心饼 奥利奥 蓝罐曲奇 大礼包</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>29</l></rb>&emsp;5802 人付款</g><g style="float:right">...</g></p>
                </a>
                <a href="javascript:;">
                    <img src="img/pic08.jpg"/>
                    <p><bl>薯条薯片薯豆薯圈</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>39</l></rb>&emsp;5.9w 人付款</g><g style="float:right">...</g></p>
                </a>
                <a href="javascript:;">
                    <img src="img/pic09.jpg"/>
                    <p><bl>口水娃正品 鸡腿鸭腿鸡翅鸭翅鸡胗鸭胗酱猪蹄猪肉脯牛肉脯牛板筋 特惠大满足装</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>59</l></rb>&emsp;5.9w 人付款</g><g style="float:right">...</g></p>
                </a>
                <a href="javascript:;">
                    <img src="img/pic10.jpg"/>
                    <p><bl>柿饼芒果干葡萄干无花果干 各式果脯蜜饯</bl></p>
                    <p><g>&nbsp;折后价&nbsp;<rb>￥<l>49</l></rb>&emsp;8684 人付款</g><g style="float:right">...</g></p>
                </a>
            </div>
        </div>
        <br/>
        <div style="width:100%;text-align: center">
            <p>page <a href="javascript:;"> 1 </a><a href="javascript:;"> 2 </a><a href="javascript:;"> 3 </a><a href="javascript:;"> 4 </a></p>
        </div>
        <hr/>
        <div>
            <div style="text-align: center">
                <p><a href="javascript:;">健康饮食的营养搭配</a></p>
                <p><a href="javascript:;">红茶、绿茶、白茶、黑茶、花茶冲泡指南</a></p>
                <p><a href="javascript:;">干果鉴别食用大全</a></p>
                <p><a href="javascript:;">怎样吃零食好吃不长胖</a></p>
            </div>
        </div>
    </div>
</div>
<%- components['shopcar'] ? include(components['shopcar'], this) : '' %>
<%- components['navfoot'] ? include(components['navfoot'], this) : '' %>
<script>
document.querySelector('#nav-foot > div > a:nth-child(2)').style.color='#c70';
$(function(){
    var nav_classify_childs = $("#nav-classify").find("a");
    nav_classify_childs.click(function(){
        nav_classify_childs.children("div").removeClass("nav-classify-active");
        $(this).children("div").addClass("nav-classify-active");
    });
});
</script>
</body>
</html>